package org.jeecg.modules.system.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 登录表单
 *
 * @Author scott
 * @since  2019-01-18
 */
@Data
@ApiModel(value="登录对象", description="登录对象")
public class SysRegisterModel {
	@ApiModelProperty(value = "账号")
    private String username;
	@ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "再次确认密码")
    private String passwordAgain;
	@ApiModelProperty(value = "验证码")
    private String captcha;
	@ApiModelProperty(value = "验证码key")
    private String checkKey;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "短信验证码")
    private String smsCode;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "学院")
    private String academy;
    //真实姓名
    @ApiModelProperty(value = "真实姓名")
    private String realname;




    /**
     * 头像
     */
    @ApiModelProperty(value = "头像")
    private String avatar;
    /**
     * 性别（1：男 2：女）
     */
    @ApiModelProperty(value = "性别")
    private Integer sex;
    /**
     * 身份（0 普通成员 1 上级）
     */
    @ApiModelProperty(value = "身份")
    private Integer userIdentity;


    public String getPhone() {
        return phone;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

	public String getCheckKey() {
		return checkKey;
	}

	public void setCheckKey(String checkKey) {
		this.checkKey = checkKey;
	}

    
}